const mongoose = require('mongoose')
const Schema = mongoose.Schema

const vipTypeSchema = new Schema({
  type: {
    type: Number,
    default: 1
  },
  validDay: {
    type: Number,
    default: 1
  },
  desc: {
    type: String,
    default: '天会员'
  },
  createAt: {
    type: Date,
    default: new Date()
  }
})

mongoose.model('vipType', vipTypeSchema)
